# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        黄周云  
# Name:         test02
# Description:  例5.2
# Author:       ASUS
# Date:         2019/1/23
#-------------------------------------------------------------------------------


#定义字符串模板
formatstr="Hello %s. Today is %s, Are there any activities today"
#初始化字符串格式化参数值，此处必须是元组，不能使用列表
values=('Mike','Wednesday')
#格式化字符串
print(formatstr%values)




